<?php 
/**
 * @version		2.0.1 | $Id: form.php 93 2009-08-28 10:56:02Z mwi.nor $
 */

// no direct access
defined('_JEXEC') or die('Restricted access');
	JToolBarHelper::media_manager( '/' );
?>
<form action="index.php" method="post" name="adminForm" id="adminForm">
<div class="col100">
    <fieldset class="adminform">
        <legend><?php echo JText::_( 'MD_TEAM_DETAILS' ); ?></legend>
        <table class="admintable">
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamName">
                <?php echo JText::_( 'MD_TEAM_NAME' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamName" id="TeamName" size="32" value="<?php echo $this->team->TeamName;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamLogo">
                <?php echo JText::_( 'MD_TEAM_LOGO' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamLogo" id="TeamLogo" size="32" value="<?php echo $this->team->TeamLogo;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamRemarks">
                <?php echo JText::_( 'MD_TEAM_REMARKS' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamRemarks" id="TeamRemarks" size="32" value="<?php echo $this->team->TeamRemarks;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamContact1Name">
                <?php echo JText::_( 'MD_TEAM_CONTACT1_NAME' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamContact1Name" id="TeamContact1Name" size="32" value="<?php echo $this->team->TeamContact1Name;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamContact1Phone">
                <?php echo JText::_( 'MD_TEAM_CONTACT1_PHONE' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamContact1Phone" id="TeamContact1Phone" size="32" value="<?php echo $this->team->TeamContact1Phone;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamContact2Name">
                <?php echo JText::_( 'MD_TEAM_CONTACT2_NAME' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamContact2Name" id="TeamContact2Name" size="32" value="<?php echo $this->team->TeamContact2Name;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamContact2Phone">
                <?php echo JText::_( 'MD_TEAM_CONTACT2_PHONE' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamContact2Phone" id="TeamContact2Phone" size="32" value="<?php echo $this->team->TeamContact2Phone;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamURL">
                <?php echo JText::_( 'MD_TEAM_URL' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamURL" id="TeamURL" size="32" value="<?php echo $this->team->TeamURL;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamEmail">
                <?php echo JText::_( 'MD_TEAM_EMAIL' ); ?>
                </label>
            </td>
            <td>
                <input class="text_area" type="text" name="TeamEmail" id="TeamEmail" size="32" value="<?php echo $this->team->TeamEmail;?>" />
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamPlayers">
                <?php echo JText::_( 'MD_TEAM_PLAYERS' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->playerlist ?>
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamVenueID">
                <?php echo JText::_( 'MD_TEAM_VENUE' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->venuelist ?>
            </td>
		</tr>
        <tr>
            <td width="100" align="right" class="key">
                <label for="TeamSubstitute">
                <?php echo JText::_( 'MD_TEAM_SUBSTITUTE' ); ?>
                </label>
            </td>
            <td>
                <?php echo $this->teamlist ?>
            </td>
		</tr>
        </table>
    </fieldset>
</div>

<div class="clr"></div>

<input type="hidden" name="option" value="com_matchdart" />
<input type="hidden" name="TeamID" value="<?php echo $this->team->TeamID; ?>" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="controller" value="teams" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>